#!/usr/bin/env python3
# -*- coding: utf-8 -*-

"""
视频拼接工具主程序入口
"""

import sys
import os
import pathlib

# 添加项目根目录到Python路径
project_root = pathlib.Path(__file__).parent.parent
sys.path.insert(0, str(project_root))

from PySide6.QtWidgets import QApplication
from gui.main_window import VideoStitcherMainWindow

def main():
    """主函数"""
    app = QApplication(sys.argv)
    window = VideoStitcherMainWindow()
    window.show()
    sys.exit(app.exec())

if __name__ == "__main__":
    main()